home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12301 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: satisfy.kiae.su!rich!usenet
  2. From: Andrew Sapozhnikov <sapa@hq.icb.chel.su>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: [Q] Watcom (DOS4GW) free memory
  5. Date: Tue, 19 Mar 1996 14:46:41 +0000
  6. Organization: Chelyabinsk PTT NIC
  7. Message-ID: <314EC8D1.41C67EA6@hq.icb.chel.su>
  8. References: <dindiaDoDLtp.IqB@netcom.com>
  9. NNTP-Posting-Host: localhost
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (X11; I; BSD/386 1.1 i386)
  14.  
  15. Hello!
  16.  
  17. John Paul D'India wrote:
  18. :> I am trying to figure out how much free memory my program can access under
  19. :> DOS4GW.  I opened up the "programmer's guide" help, found a nice section
  20. :> titled "determining free memory under DOS4GW", and when I ran the little
  21. :> example program, it gave me a whole big long list of information (luckily
  22. :> at the top was largest available block - which looked close if not exact).
  23.  
  24. take it easy, use functions _memavl() and _memmax() - I think that's enought
  25. it work under flat memory model under dos4g/gw/gw pro and pmode/w as like as
  26. under free dos in small model...
  27. for more info see WHELP CLIB...
  28.  
  29.                 Best regards, Sapa.
  30.                 sapa@hq.icb.chel.su
  31.